package com.cavy.platform.server.repository;

import com.cavy.platform.server.domain.Agent;

public interface AgentRepository {

    Agent findByHostname(String hostname);

    void add(String hostname, Agent agent);

    void save(Agent agent);

    void delete(String agent);

    int count(String name);
}
